package com.bdyc.dao;

import com.bdyc.po.WcategoryInfo;
import com.bdyc.po.WcategoryInfoExample;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface WcategoryInfoMapper {
    int countByExample(WcategoryInfoExample example);

    int deleteByExample(WcategoryInfoExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(WcategoryInfo record);

    int insertSelective(WcategoryInfo record);

    List<WcategoryInfo> selectByExample(WcategoryInfoExample example);

    WcategoryInfo selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") WcategoryInfo record, @Param("example") WcategoryInfoExample example);

    int updateByExample(@Param("record") WcategoryInfo record, @Param("example") WcategoryInfoExample example);

    int updateByPrimaryKeySelective(WcategoryInfo record);

    int updateByPrimaryKey(WcategoryInfo record);
    //分页查询所有
	Integer findWcategoryInfoListCount(@Param("map") Map<String, Object> map);
	//分页查询总记录数
	List<WcategoryInfo> findWcategoryInfoList(@Param("map") Map<String, Object> map);
}